package com.amigo.online.common.param.dto.pay;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.*;

public class PayPromoteDto {
	@Digits(integer=20,fraction=0)
	private Long video_id;
	@Digits(integer=20,fraction=0)
	private String sex;
	private String age_range;
	private String area_ids;
	@Pattern(regexp="^[1-9][0-9]*000$")
	@NotNull
	private Integer pormote_money;//投放金额
	@Pattern(regexp="^[1-9][0-9]*000$")
	@NotNull
	private Integer pay_money;//实际付款金额
	@Min(1)
	@Max(2)
	private Integer type;//1-系统智能投放    2-自定义定向投放
	@NotBlank
	private String payway;
	@NotBlank
	private String nonce;	//payment_method_nonce
	
	private Long order_id;
	private String order_num;
	private String trade_status;
	private Long pay_time;
	public Long getVideo_id() {
		return video_id;
	}
	public void setVideo_id(Long video_id) {
		this.video_id = video_id;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAge_range() {
		return age_range;
	}
	public void setAge_range(String age_range) {
		this.age_range = age_range;
	}
	public String getArea_ids() {
		return area_ids;
	}
	public void setArea_ids(String area_ids) {
		this.area_ids = area_ids;
	}
	public Integer getPormote_money() {
		return pormote_money;
	}
	public void setPormote_money(Integer pormote_money) {
		this.pormote_money = pormote_money;
	}
	public Integer getPay_money() {
		return pay_money;
	}
	public void setPay_money(Integer pay_money) {
		this.pay_money = pay_money;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getPayway() {
		return payway;
	}
	public void setPayway(String payway) {
		this.payway = payway;
	}
	public String getNonce() {
		return nonce;
	}
	public void setNonce(String nonce) {
		this.nonce = nonce;
	}
	public Long getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Long order_id) {
		this.order_id = order_id;
	}
	public String getOrder_num() {
		return order_num;
	}
	public void setOrder_num(String order_num) {
		this.order_num = order_num;
	}
	public String getTrade_status() {
		return trade_status;
	}
	public void setTrade_status(String trade_status) {
		this.trade_status = trade_status;
	}
	public Long getPay_time() {
		return pay_time;
	}
	public void setPay_time(Long pay_time) {
		this.pay_time = pay_time;
	}
	
	
	
	
}
